package com.dimension.pojo;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Value;

import java.io.Serializable;
import java.util.Date;

public class Member implements Serializable {
    private Integer id;

    @ApiModelProperty(value = "开通时间")
    private Date createtime;

    @ApiModelProperty(value = "到期时间")
    private Date endtime;

    @ApiModelProperty(value = "价格")
    private Double money;

    @ApiModelProperty(value = "用户编号")
    private Integer userid;

    public Member(Integer id, Date createtime, Date endtime, Double money, Integer userid) {
        this.id = id;
        this.createtime = createtime;
        this.endtime = endtime;
        this.money = money;
        this.userid = userid;
    }

    public Member() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }
}